PI = 3.1415926print('圆周率PI的值 >>> %f' % PI)print('圆周率PI的值 >>> %.2f' % PI)print('圆周率PI的值 >>> %.10f' % PI)price = 6789.987654321print('单价为%f' % price)print('单价为%10.2f' % price)